package cn.edu.nhic.constant;

/**
 * Created by duweiping on 2024/9/3 23:53
 * @author 13072
 */
public interface Constants {
    /**
     * 定义文档输出类型为html格式。
     */
    String DOC_FORMAT_TYPE = "text/html;charset=UTF-8";

    public enum ParamsKeyEnum {
        USER_NAME_KEY("username"),

        PASSWORD_KEY("password"),

        SEX_KEY("sex"),

        TEL_KEY("tel"),

        AGW_KEY("age"),

        ADDRESS_KEY("address"),

        FAVOR_KEY("favor"),

        ;

        private final String paramKey;

        ParamsKeyEnum(String paramKey) {
            this.paramKey = paramKey;
        }

        public String getParamKey() {
            return paramKey;
        }
    }


    public enum CharSetEnum{

        ISO_8859_1("iso-8859-1"),

        UTF_8("utf-8"),
        ;

        private final String charSet;

        CharSetEnum(String charSet) {
            this.charSet = charSet;
        }

        public String getCharSet() {
            return charSet;
        }
    }
}
